using System.Collections.Generic;
using YL.Core.Dto;
using YL.Core.Entity;
using YL.Utils.Table;

namespace IServices
{
    public interface ISys_deptServices : IBaseServices<Sys_dept>
    {
        Sys_dept GetTheData(long id);
        string PageList(Bootstrap.BootstrapParams bootstrap);
        string SingleList(string DeptNo, long userId, bool OnlyManage=false);
        string ParentList(string DeptNo);
        string ParentListById(long? id,long userId);
        string GetList(Bootstrap.BootstrapParams bootstrap,long userId);

        List<long> GetUserDepts(long userId);
    }
}